package com.pig4cloud.pig.module.api.entity.estate;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;

/**
 *  工作人员 对象 worker
 *
 * @author ruoyi
 * @date 2021-09-03
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("worker")
public class Worker implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    /**
     * 所属小区id
     */
    private Integer estateId;

	/**
	 *  用户类型 0 - 维修工人  1 - 抄表人员
	 */
	private Integer userType;

    /**
     * 工种
     */
    private String workerType;

    /**
     * 人员姓名
     */
    private String workerName;

    /**
     * 人员手机号
     */
    private String workerPhone;

    /**
     * 擅长工种
     */
    private String info;

    /**
     * 状态
     */
    private Integer state;

	private Integer wxUserId;
	private String nickName;
	private String mpOpenId;

	@TableField(exist = false)
	private Integer isFocus;

	@TableField(exist = false)
    private String estateName;


	@TableField(exist = false)
	private String workerTypeName;
}
